package org.ghost.wechat.platform.dto.wechat.material;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.ghost.wechat.platform.dto.WeChatErrorRspDTO;

/**
 * @author 01
 */
public class WeChatGetMaterialCountRspDTO extends WeChatErrorRspDTO {
    private static final long serialVersionUID = -5126531933803149073L;

    private Integer voiceCount;

    private Integer videoCount;

    private Integer imageCount;

    private Integer newsCount;

    public Integer getVoiceCount() {
        return voiceCount;
    }

    @JsonProperty(value = "voice_count")
    public void setVoiceCount(Integer voiceCount) {
        this.voiceCount = voiceCount;
    }

    public Integer getVideoCount() {
        return videoCount;
    }

    @JsonProperty(value = "video_count")
    public void setVideoCount(Integer videoCount) {
        this.videoCount = videoCount;
    }

    public Integer getImageCount() {
        return imageCount;
    }

    @JsonProperty(value = "image_count")
    public void setImageCount(Integer imageCount) {
        this.imageCount = imageCount;
    }

    public Integer getNewsCount() {
        return newsCount;
    }

    @JsonProperty(value = "news_count")
    public void setNewsCount(Integer newsCount) {
        this.newsCount = newsCount;
    }

    @Override
    public String toString() {
        return "WeChatGetMaterialCountRspDTO{" +
                "voiceCount=" + voiceCount +
                ", videoCount=" + videoCount +
                ", imageCount=" + imageCount +
                ", newsCount=" + newsCount +
                ", errCode=" + errCode +
                ", errMsg='" + errMsg + '\'' +
                '}';
    }
}
